/**
 * Copyright(C): CETC-32
 * @Description: 权限PermissionDTO实体
 * @author: youqing
 * @version: 1.0
 * @date: 2020/9/11 10:55
 * 更改描述：
 */

package com.cetc32.dh.dto;

import com.cetc32.dh.entity.NumberS;
import lombok.Data;
import java.util.List;

/**
 * @Title: PermissionDTO
 * @Description:
 * @author: youqing
 * @version: 1.0
 * @date: 2020/11/30 11:22
 */
@Data
public class PermissionDTO extends NumberS {

    /**
     * id
     */
    private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * pid
     */
    private Integer pid;

    /**
     * pname
     */
    private String pname;

    /**
     * descpt
     */
    private String descpt;

    /**
     * url
     */
    private String url;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 更新时间
     */
    private String updateTime;

    /**
     * delFlag
     */
    private Integer delFlag;

    /**
     * 获取id
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置id
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取名称
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置名称
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取pid
     * @return pid
     */
    public Integer getPid() {
        return pid;
    }

    /**
     * 设置pid
     * @param pid
     */
    public void setPid(Integer pid) {
        this.pid = pid;
    }

    /**
     * 获取pname
     * @return pname
     */
    public String getPname() {
        return pname;
    }

    /**
     * 设置pname
     * @param pname
     */
    public void setPname(String pname) {
        this.pname = pname;
    }

    /**
     * 获取descpt
     * @return descpt
     */
    public String getDescpt() {
        return descpt;
    }

    /**
     * 设置descpt
     * @param descpt
     */
    public void setDescpt(String descpt) {
        this.descpt = descpt;
    }

    /**
     * 获取url
     * @return url
     */
    public String getUrl() {
        return url;
    }

    /**
     * 设置url
     * @param url
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * 获取createTime
     * @return createTime
     */
    public String getCreateTime() {
        return createTime;
    }

    /**
     * 设置createTime
     * @param createTime
     */
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取updateTime
     * @return updateTime
     */
    public String getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置updateTime
     * @param updateTime
     */
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取delFlag
     * @return delFlag
     */
    public Integer getDelFlag() {
        return delFlag;
    }

    /**
     * 设置delFlag
     * @param delFlag
     */
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    /**
     * 孩子childrens
     */
    List<PermissionDTO> childrens;

    /**
     * 获取childrens
     * @return childrens
     */
    public List<PermissionDTO> getChildrens() {
        return childrens;
    }

    /**
     * 设置childrens
     * @param childrens
     */
    public void setChildrens(List<PermissionDTO> childrens) {
        this.childrens = childrens;
    }


}
